package org.example.web;

import org.example.Componet;

@Controller
@Componet
@RequestMapping("/api")
public class HelloController {
    @RequestMapping("/a")
    public String hello(@Param("name") String name, @Param("age") Integer age) {
        return String.format("<h1>hello world</h1><br> name: %s  age:%s", name, age);
    }
}
